<template>
	<view>
		<view class="">
			<input type="text" placeholder="请输入要搜索的内容" v-model="list"/>
			<button @click="souo">搜索</button>
		</view>
	</view>
</template>

<script>
	import {sou} from '../../reques/api.js'
	export default {
		data() {
			return {
				list:''
			};
		},
		methods:{
			souo(){
				sou({page: 1,pageSize: 10,keyword: '衣',sortField: "publishTime",sortMethod: "asc"}).then(res=>{
					console.log(res);
				})
			}
		}
	}
</script>

<style lang="scss">

</style>
